package com.lemo.event;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {

    public static void main(String[] args) {
        new AnnotationConfigApplicationContext(EventConfig.class).getBean(DemoPublisher.class).publish("123----");
    }
}
